package top.buaarobot.webserver.repository;

import org.springframework.stereotype.Repository;
import top.buaarobot.webserver.domain.User;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

@Repository
public interface UserRepository extends JpaRepository<User, Integer> {
    List<User> findByUsername(String username);
}
